package net.ujacha.bethany.conv;

import java.util.Date;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

public class BethanyModel {

	// ID
	private long id;

	// 주제
	private String category;

	// 제목
	private String title;

	// 입력일
	private Date writeDate;

	// 그림1
	private Object pic1;

	// 그림2
	private Object pic2;

	// 내용
	private String content;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Date getWriteDate() {
		return writeDate;
	}

	public void setWriteDate(Date writeDate) {
		this.writeDate = writeDate;
	}

	public Object getPic1() {
		return pic1;
	}

	public void setPic1(Object pic1) {
		this.pic1 = pic1;
	}

	public Object getPic2() {
		return pic2;
	}

	public void setPic2(Object pic2) {
		this.pic2 = pic2;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@Override
	public String toString() {
	
		return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
		
	}
	
}
